package org.uranus.consul.consumer.service;

import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @date 2021/9/18
 * @auther uranus
 */
@FeignClient(value="service-provider")
public interface JsonService {

    @PostMapping("/json")
    public JSONObject findOne(@RequestBody JSONObject json);


}
